package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallEventDao;
import com.appkubes.mall.core.entity.MallEvent;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallEventService extends AbstractBaseService<BaseMallEventDao, MallEvent> {

    MallEvent getOneByEntity(MallEvent entity);

    List<MallEvent> selectListByEntity(MallEvent entity);

    IPage<MallEvent> selectPageByEntity(IPage<MallEvent> page);
    IPage<MallEvent> selectPageByEntity(PageVO pageVO);

    IPage<MallEvent> selectPageByEntity(MallEvent entity, IPage<MallEvent> page);
    IPage<MallEvent> selectPageByEntity(MallEvent entity, PageVO pageVO);

    IPage<MallEvent> selectPageByEntity(MallEvent entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallEvent entity);
}
